#!/usr/bin/env bash
set -e

if [ $# -eq 0 ]; then
    echo "usage: format-py [DIR] [FLAGS]"
    exit 1
fi

which pylint
pylint --version
pylint $2 $1
